﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_HISTORY_TECHNIC_ITEM
// * CreateDate    : 2012/4/19 16:52:45
// * Creater       : CodeSmith
// * LastChangeDate: 2012/4/19 16:52:45
// * LastChanger   : 2012/4/19 16:52:45
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdHistoryTechnicItemTable : TableInfo
    {
        public const string C_TableName = "PROD_HISTORY_TECHNIC_ITEM";

        public const string C_ID = "ID";
        public const string C_HISTORY_TECHNIC_ID = "HISTORY_TECHNIC_ID";
        public const string C_TECHNIC_ID = "TECHNIC_ID";
        public const string C_GROUP_ID = "GROUP_ID";
        public const string C_SEQUENCE = "SEQUENCE";
        public const string C_PLAN_WORKING_HOURS = "PLAN_WORKING_HOURS";

        public ProdHistoryTechnicItemTable()
        {
            _tableName = "PROD_HISTORY_TECHNIC_ITEM";
        }

        protected static ProdHistoryTechnicItemTable _current;
        public static ProdHistoryTechnicItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdHistoryTechnicItemTable();

            _current.Add(C_ID, new ColumnInfo(C_ID, "Id", true, typeof(string)));
            _current.Add(C_HISTORY_TECHNIC_ID, new ColumnInfo(C_HISTORY_TECHNIC_ID, "HistoryTechnicId", false, typeof(string)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID, "TechnicId", false, typeof(string)));
            _current.Add(C_GROUP_ID, new ColumnInfo(C_GROUP_ID, "GroupId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE, "Sequence", false, typeof(int)));
            _current.Add(C_PLAN_WORKING_HOURS, new ColumnInfo(C_PLAN_WORKING_HOURS, "PlanWorkingHours", false, typeof(decimal)));

        }

        public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }

        public ColumnInfo HISTORY_TECHNIC_ID
        {
            get { return this[C_HISTORY_TECHNIC_ID]; }
        }

        public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }

        public ColumnInfo GROUP_ID
        {
            get { return this[C_GROUP_ID]; }
        }

        public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }

        public ColumnInfo PLAN_WORKING_HOURS
        {
            get { return this[C_PLAN_WORKING_HOURS]; }
        }



    }
}

